const fs = require('fs');

function log(...str) {
  // console.log(...str);
  fs.appendFileSync('./log.txt', `\n${[...str].toString()}`);
}

exports.log = log;
